import request from '@/utils/request'

// 查询ZFB数据列表
export function listZfbSearch(query) {
  return request({
    url: '/system/zfbSearch/list',
    method: 'get',
    params: query
  })
}

// 查询ZFB数据详细
export function getZfbSearch(id) {
  return request({
    url: '/system/zfbSearch/' + id,
    method: 'get'
  })
}

// 新增ZFB数据
export function addZfbSearch(data) {
  return request({
    url: '/system/zfbSearch',
    method: 'post',
    data: data
  })
}

// 修改ZFB数据
export function updateZfbSearch(data) {
  return request({
    url: '/system/zfbSearch',
    method: 'put',
    data: data
  })
}

// 删除ZFB数据
export function delZfbSearch(id) {
  return request({
    url: '/system/zfbSearch/' + id,
    method: 'delete'
  })
}
